home *** CD-ROM | disk | FTP | other *** search
- head 1.3;
- branch ;
- access ;
- symbols ;
- locks ; strict;
- comment @@;
-
-
- 1.3
- date 91.11.19.18.26.04; author kupfer; state Exp;
- branches ;
- next 1.2;
-
- 1.2
- date 91.11.06.18.32.46; author kupfer; state Exp;
- branches ;
- next 1.1;
-
- 1.1
- date 88.03.24.19.47.30; author deboor; state Exp;
- branches ;
- next ;
-
-
- desc
- @Makefile to make using makedepend easier
- @
-
-
- 1.3
- log
- @makedepend doesn't like -U, so don't pass it in from CFLAGS.
- @
- text
- @#
- # Makefile of rules for creating dependencies using the 'makedepend'
- # program. DEPFILE contains the name of the file wherein the dependencies
- # should be placed. This defaults to 'dependencies.mk' in the local directory.
- # It may, however, be changed to 'Makefile' without harm.
- #
- # If you want the dependencies to include the full pathname of each include
- # file, you must specify the '-p' flag in the DEPFLAGS variable.
- #
- # If the SRCS variable is defined, the 'depend' target will be set up
- # to create dependencies for all files in that variable.
- #
- # The MAKEDEPEND rule will pass all -I and -D flags given in the CFLAGS
- # variable to makedepend. Usage is like this:
- #
- # depend : $(LIBSRCS) $(PROGSRC) MAKEDEPEND
- #
- DEPFLAGS ?=
-
- #if defined(SRCS) && !defined(NODEPEND)
- depend : $(SRCS) MAKEDEPEND .NOTMAIN
- #endif
-
- DEPFILE ?= dependencies.mk
-
- MAKEDEPEND : .USE
- makedepend $(CFLAGS:M-[ID]*) $(DEPFLAGS) -f $(DEPFILE) $(.ALLSRC)
- @
-
-
- 1.2
- log
- @Pass -U flags to makedepend.
- @
- text
- @d27 1
- a27 1
- makedepend $(CFLAGS:M-[IDU]*) $(DEPFLAGS) -f $(DEPFILE) $(.ALLSRC)
- @
-
-
- 1.1
- log
- @Initial revision
- @
- text
- @d27 1
- a27 1
- makedepend $(CFLAGS:M-[ID]*) $(DEPFLAGS) -f $(DEPFILE) $(.ALLSRC)
- @
-